<?php

namespace app\shop\model\company;

use think\Model;
use think\model\concern\SoftDelete;
use app\shop\model\user\User;
/**
 * 应用模型
 */
class EntryFile extends Model
{
    use SoftDelete;
    protected $autoWriteTimestamp = true;

    public function user()
    {
        return $this->belongsTo(User::class, 'user_id', 'user_id');
    }
    
    public function addUser()
    {
        return $this->belongsTo(User::class, 'add_user', 'user_id');
    }
}
